From e6300e8814f9fa4e747498623729490d27829fda Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 8 Apr 2005 20:18:25 +0000 Subject: [PATCH] Export 330_cleanse and checksum for use by friends. --- gpsbabel/magproto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 4666d2c5b..cd41c0752 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -213,7 +213,7 @@ m315_cleanse(char *istring) /* * Do same for 330, Meridian, and SportTrak. */ -static char * +char * m330_cleanse(char *istring) { static char m330_valid_chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ " @@ -235,7 +235,7 @@ m330_cleanse(char *istring) * Given a protocol message, compute the checksum as needed by * the Magellan protocol. */ -static unsigned int +unsigned int mag_checksum(const char * const buf) { int csum = 0; -- 2.30.2